﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO.DAOUtils
{
    public class Parameter
    {
        private String _name;
        private Object _value;

        public Parameter(String name, Object value)
        {
            _name = name;
            _value = value;
        }
        
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public Object Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public static List<Parameter> CreateList(params Parameter[] parameters)
        {
            return new List<Parameter>(parameters);
        }
    }
}
